﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace UNF_Event_Posting
{
    public class Category:epDataObject
    {
        private string SafeGetString(object obj)
        {
            string str = string.Empty;
            if (obj is string)
            {
                str = (string)obj;
            }
            return str;
        }

        public int cat_id
        {
            get
            {
                return (int)this["cat_id"];
            }
            set
            {
                this["cat_id"] = value;
            }
        }

        public String category
        {
            get
            {
                return SafeGetString(this["category"]);
            }
            set
            {
                this["category"] = value;
            }
        }

    }
}